<template>
	<view>
		<view class="newsItem">
			<view class="itemTop">
				<view class="newsCon">
					<view class="newsTit">
						<text>社区治理</text>
						<text class="till">|</text>
						<view class="title ellip">反倒是离开减肥反倒是解放路口佛挡杀佛</view>
					</view>
					<view class="content multiEllip clamp2">发大水了空间国际法的两个空间放到手机可根据负担来几个反对事可根据负担来几个反对事件发生快捷方式可件发生快捷方式可减肥</view>
				</view>
				<view class="newsImg"></view>
			</view>
			<view class="itemBot spaceBet">
				<view class="scan alignCen">
					<text class="iconfont icon-eyes"></text>
					<text>230</text>
				</view>
				<view>2023-07-20 20:22:30</view>
			</view>
		</view>
		<view class="newsItem">
			<view class="itemTop">
				<view class="newsCon">
					<view class="newsTit">
						<text>社区治理</text>
						<text class="till">|</text>
						<view class="title ellip">反倒是离开减肥反倒是解放路口佛挡杀佛</view>
					</view>
					<view class="content multiEllip clamp2">发大水了空间国际法的两个空间放到手机可根据负担来几个反对事可根据负担来几个反对事件发生快捷方式可件发生快捷方式可减肥</view>
				</view>
				<view class="newsImg"></view>
			</view>
			<view class="itemBot spaceBet">
				<view class="scan alignCen">
					<text class="iconfont icon-eyes"></text>
					<text>230</text>
				</view>
				<view>2023-07-20 20:22:30</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			currPage:{
				type:String,
				default:'sqIndex'//sqIndex sqNewsList
			}
		}
	}
</script>

<style lang="scss" scoped>
	.newsItem{
		background:#FAF9FE;
		border-radius: 16rpx;
		padding: 15rpx;
		margin-top: 30rpx;
		&:first-child{
			margin-top: 20rpx;
		}
		.itemTop{
			display: flex;
			margin-bottom: 15rpx;
			.newsCon{
				width: 79%;
				height: 126rpx;
				margin-right: 15rpx;
				.till{
					margin: 0 5rpx;
				}
				.newsTit{
					display: flex;
					font-size: 30rpx;
					color: $sq-main0;
					font-weight: 600;
					margin-bottom: 10rpx;
					.title{
						width: 73%;
					}
				}
				.content{
					font-size: 26rpx;
					color: $sq-main4;
				}
			}
			.newsImg{
				width: 126rpx;
				height: 126rpx;
				background: #cffec7;
				border-radius: 8rpx;
				flex-shrink: 0;
			}
		}
		.itemBot{
			font-size: 24rpx;
			color: $sq-main8;
			.icon-eyes{
				font-size: 36rpx;
				margin-right: 5rpx;
			}
		}
	}
</style>